package com.vhall.component.entity.common;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@TableName("factory_conf")
public class FactoryConfEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("entry")
    private String entry;

    @TableField("c_status")
    private Integer cStatus;

    @TableField("app_id")
    private Integer appId;

    /**
     * 初始化状态0 固定实例 ，1 动态预加载 ，2 延迟加载
     */
    @TableField("init_status")
    private Integer initStatus;

    @TableField("mount_id")
    private String mountId;

    @TableField("active_rule")
    private String activeRule;

    @TableField("global_style")
    private String globalStyle;

    @TableField("service_name")
    private String serviceName;

    @TableField("platform")
    private String platform;

    @TableField("is_deleted")
    private Integer isDeleted;


    @ApiModelProperty(value = "创建时间")
    @TableField("created_at")
    private LocalDateTime createdAt;


    @ApiModelProperty(value = "更新时间")
    @TableField("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "删除时间")
    @TableField("deleted_at")
    private LocalDateTime deletedAt;

}